<?php

class GolfCourseCrudController extends Controller
{
	public $crdGolfCourse;
	public function __construct()
	{
		$this->crdGolfCourse= new crud_GolfCourse(); 
	}
	
	public function actionIndex()
	{
		$this->render('index');
	}
	
	public function actionGetAllGolfCourse()
	{
		$this->crdGolfCourse->getAllGolfCourse();
	}
	
	public function actionInsert()
	{
		$this->crdGolfCourse->insert();
	}
	
	public function actionUpdate()
	{
		$this->crdGolfCourse->update();
	}
	
	public function actionDelete()
	{
		$this->crdGolfCourse->delete();
	}
	
}